home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / doom / quake.zip / WAD2TOOL.ZIP / WAD2TOOL.TXT < prev   
Text File  |  1996-07-09  |  3KB  |  93 lines

  1.  
  2. Wad2Tool
  3. Beta Version 0.8
  4. Copyright (C) Richard Felker
  5.  
  6. Wad2Tool is a program designed to manipulate WAD2 files,
  7. which contain the textures for Quake MAP levels. This
  8. version is only a beta, so it is missing a few features,
  9. but it is usable.
  10.  
  11. I will include source with the real version. It might
  12. be helpful in case you would like to look at it or port
  13. it (which should be very easy).
  14.  
  15. Wad2Tool is used from the command line. It is not for
  16. beginners. All options are CASE-SENSITIVE! (except maybe
  17. the name of the file on disk... :)
  18.  
  19. Usage: wad2tool <wad2file> [options]
  20.  
  21. <wad2file> is the name of the WAD2 you are using. It does
  22. not have to exist at first if you will be "-create"ing it.
  23. It will be used for all the commands you give Wad2Tool.
  24.  
  25. Options:
  26.  
  27. These options tell Wad2Tool what to do. If none are
  28. specified, it will list all the entries in the WAD2 file.
  29.  
  30. -create
  31. Creates a new WAD2 file. If <wad2file> already exists, it
  32. is overwritten. Use this command with care!
  33.  
  34. -addlump <nameondisk> <nameinwad> <typechar>
  35. Adds a raw lump to the WAD2 file. The data is read from
  36. <nameondisk> and it stored in the WAD2 as <nameinwad>.
  37. <typechar> is a single character telling the type of data.
  38. 'D' = texture and '@' = palette. Look in the Quake specs
  39. for more.
  40.  
  41. -extlump <nameinwad> <nameondisk>
  42. Extracts a lump named <nameinwad> and saves it as
  43. <nameondisk>.
  44.  
  45. -dellump <nameinwad>
  46. Removes the lump named <nameinwad> from the WAD2 file. This
  47. operation only removes it from the wad directory; it still
  48. takes up space. Use -rebuild (not yet implemented) to
  49. recover the space.
  50.  
  51. -add <nameondisk> <nameinwad>
  52. Generates a texture from a bitmap file, <nameondisk>, and
  53. stores is in the WAD2 as <nameinwad>. The image is simply
  54. shrunk for the 3 smaller versions (doesn't look great).
  55.  
  56. -addfull <basenameondisk> <nameinwad>
  57. Generates a texture from 4 bitmap files whose names begin
  58. with <basenameondisk> followed by a number (0,1,2,3) and
  59. the extension ".bmp". The texture is stored in the WAD2 as
  60. <nameinwad>.
  61.  
  62. -addauto <nameondisk> <nameinwad>
  63. Will use a bitmap, <nameondisk> to automaticly generate an
  64. antialiased MIP texture. The texture is added to the WAD2
  65. as <nameinwad>. NOTE: THIS OPERATION IS NOT YET
  66. IMPLEMENTED!
  67.  
  68. -ext <nameinwad> <basenameondisk>
  69. Generates bitmap files from the 4 parts of a texture named
  70. <nameinwad>. They are saved as <basenameondisk>?.bmp, where
  71. the ? is a number (0,1,2,3) indicating which size.
  72.  
  73. -rebuild
  74. Will clean up any unused space in the WAD2. NOTE: THIS
  75. OPERATION IS NOT YET IMPLEMENTED!
  76.  
  77. Until -rebuild is implemented, I recommend re"-create"ing
  78. the WAD2 with every change and adding all the data from a
  79. batch file. That's the way I use it.
  80.  
  81. NOTE: Extracting a texture to a bitmap requires a palette.
  82. The palette should be in a lump named "palette" in the WAD2
  83. file. If it is not, extract it from PAK0.PAK (with an
  84. unpacker) and put it in the WAD2 with -addlump.
  85.  
  86. Oh, one last thing - you use this program at your own risk.
  87. I seriously doubt it will do anything to harm your system,
  88. but I cannot guarantee it. If it does, write and tell me
  89. and I'll try to help you fix it, if I can.
  90.  
  91. Dalias, 71614.3257@compuserve.com
  92.  
  93.